package indi.caibo.service_edu.service;

import indi.caibo.service_edu.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import indi.caibo.service_edu.entity.vo.chapter.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author Bo Cai
 * @since 2021-10-07
 */
public interface EduChapterService extends IService<EduChapter> {

    List<ChapterVo> nestedList(String courseId);

    boolean removeChapterById(String id);

    boolean removeByCourseId(String id);
}
